FROM java:8-jre

MAINTAINER 675556650@qq.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && mkdir -p /hhxx-register

WORKDIR /hhxx-register

EXPOSE 8848

ADD ./target/hhxx-register.jar ./


CMD sleep 10;java -Xms512m -Xmx1024m -Djava.security.egd=file:/dev/./urandom -jar -Duser.timezone=GMT+08 hhxx-register.jar


